import {FileVo, request} from "../http";

export interface TipsWxVo {
  id: number;
  title: string;
  content: string;
  file: FileVo[];  // 来自后端关联的文件信息
  updateBy: string;
  updateTime: string;
}


// 查询参数类型
export interface TipsQuery {
  pageNum: number;
  pageSize: number;
  title?: string;
  total?: number;   // 总记录数
}

export function getTips(query: TipsQuery) {
	return request({
		url: "/tips/wx/get",
		method: "POST",
		data: query,
		token: null
	})
}
